Skip to content

Commit 16da8d3

Browse files
committed
Try to set cmake output directories properly.
Executables are stil do not ending up in epigeec/bin as expected. (b8c3e03 was not enough) Adding CMAKE_RUNTIME_OUTPUT_DIRECTORY to ensure executables go to the bin folder.
1 parent bfe6224 commit 16da8d3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ endif()
77

88
SET( PROJ_NAME "epiGeEC" )
99
SET( CMAKE_EXECUTABLE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/epigeec/bin" )
10+
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/epigeec/bin" ) # making sure it outputs to bin
1011
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/epigeec/lib" )
1112
SET( CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} ${CMAKE_SOURCE_DIR}/epigeec/lib )
1213

0 commit comments

Comments
 (0)