Skip to content

Commit 4a09719

Browse files
committed
cmake: Update cpptrace include dir for install
1 parent 68904f9 commit 4a09719

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,9 @@ endif()
818818
if (NOT BOUT_USE_SYSTEM_FMT)
819819
set(FMT_INCLUDE_PATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}")
820820
endif()
821+
if (NOT BOUT_USE_SYSTEM_CPPTRACE)
822+
set(CPPTRACE_INCLUDE_PATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}")
823+
endif()
821824
set(BOUT_INCLUDE_PATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}")
822825
# We don't need the build include path any more
823826
string(REPLACE "-I${CMAKE_CURRENT_BINARY_DIR}/include" "" CONFIG_CFLAGS "${CONFIG_CFLAGS}")

0 commit comments

Comments
 (0)