Skip to content

Commit

Permalink
Refs #18687. Fixing windows ci
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González <[email protected]>
  • Loading branch information
richiware committed Sep 27, 2023
1 parent 6a831fa commit 3bce9cb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions fastdds_python/src/swig/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if (BUILD_DOCUMENTATION)
set(CMAKE_SWIG_FLAGS "-doxygen")
endif (BUILD_DOCUMENTATION)

SWIG_ADD_LIBRARY(${PROJECT_NAME}
swig_add_library(${PROJECT_NAME}
TYPE SHARED
LANGUAGE python
SOURCES ${${PROJECT_NAME}_FILES}
Expand All @@ -49,7 +49,11 @@ if(UNIX AND CMAKE_SIZEOF_VOID_P EQUAL 8)
set_property(TARGET ${PROJECT_NAME} PROPERTY SWIG_COMPILE_DEFINITIONS SWIGWORDSIZE64)
endif()

SWIG_LINK_LIBRARIES(${PROJECT_NAME}
if(MSVC OR MSVC_IDE)
target_compile_options(${PROJECT_NAME} PRIVATE /bigobj)
endif()

target_link_libraries(${PROJECT_NAME}
Python3::Module
fastcdr
fastrtps
Expand Down

0 comments on commit 3bce9cb

Please sign in to comment.