Skip to content

Commit b8c3e03

Browse files
committed
Use modern cmake variables for output directories.
Auditwheel did not find the binaries, so the wheels were not built correctly. This commit changes the output directory variables to the modern CMake ones, since cmake>3.5 is set since 1.6.0.
1 parent dfec82e commit b8c3e03

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ if(POLICY CMP0167)
66
endif()
77

88
SET( PROJ_NAME "epiGeEC" )
9-
SET( EXECUTABLE_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/epigeec/bin" )
10-
SET( LIBRARY_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/epigeec/lib" )
9+
SET( CMAKE_EXECUTABLE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/epigeec/bin" )
10+
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/epigeec/lib" )
1111
SET( CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} ${CMAKE_SOURCE_DIR}/epigeec/lib )
1212

1313
SET(CMAKE_SKIP_BUILD_RPATH FALSE)

0 commit comments

Comments
 (0)