Skip to content

Commit

Permalink
add NO_OUTPUT_DIRS to conan_basic_setup
Browse files Browse the repository at this point in the history
Libraries must be at default build destination to be found by python
setup.
  • Loading branch information
BerndDoser committed Feb 20, 2020
1 parent e191159 commit 75a6854
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ if(OPENMP_FOUND)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
endif()

#set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
#set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
#set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)

# Download conan-cmake
find_program(CONAN conan)
if(CONAN)
Expand All @@ -81,7 +77,7 @@ if(CONAN)

include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
set(CONAN_SYSTEM_INCLUDES "On")
conan_basic_setup()
conan_basic_setup(NO_OUTPUT_DIRS)
endif()

# Get Git revision
Expand Down

0 comments on commit 75a6854

Please sign in to comment.