Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored and drdanz committed Mar 26, 2021
1 parent b6974aa commit 61ecb92
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions bindings/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ set(CMAKE_SWIG_FLAGS "-module;yarp;-threads;${SWIG_COMMON_FLAGS}")

find_package(Python3 COMPONENTS Interpreter Development REQUIRED)

## in Windows it seems necessary to declare explictly the link_directory
if(WIN32)
get_filename_component(Python3_DIR ${Python3_LIBRARY} DIRECTORY)
link_directories(${Python3_DIR})
endif()

set(CMAKE_SWIG_OUTDIR "${CMAKE_BINARY_DIR}/lib/python3")
set(SWIG_OUTFILE_DIR "${CMAKE_CURRENT_BINARY_DIR}")

Expand Down

0 comments on commit 61ecb92

Please sign in to comment.