Skip to content

Commit 750e608

Browse files
remove unnecessary include_directories in app CMakeLists
1 parent 557060d commit 750e608

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

app/CMakeLists.txt

+2-5
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,9 @@ add_executable(jet_export driver.cpp)
99
add_executable(jet_serial driver.cpp)
1010
add_executable(pstat part_eval.cpp)
1111

12-
13-
foreach(prog jet_ex jet4 jet2 jet_host jet_import jet_export jet_serial pstat)
14-
target_include_directories(${prog} PRIVATE ${CMAKE_SOURCE_DIR}/header)
12+
foreach(prog jet_import pstat)
13+
target_include_directories(${prog} PRIVATE ${CMAKE_SOURCE_DIR}/header ${CMAKE_SOURCE_DIR}/src)
1514
endforeach(prog)
16-
target_include_directories(jet_import PUBLIC ${CMAKE_SOURCE_DIR}/src)
17-
target_include_directories(pstat PUBLIC ${CMAKE_SOURCE_DIR}/src)
1815

1916
# compile definitions to set exe behavior
2017
target_compile_definitions(jet4 PUBLIC FOUR9)

0 commit comments

Comments
 (0)