Skip to content

Commit

Permalink
desperate attempt to link to libpopsift in the right location on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Carsten Griwodz committed Jul 31, 2024
1 parent a9c5d99 commit e835dd0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/application/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ set_property(TARGET popsift-demo PROPERTY CXX_STANDARD 11)
target_compile_options(popsift-demo PRIVATE ${PD_COMPILE_OPTIONS} )
target_include_directories(popsift-demo PUBLIC PopSift::popsift ${PD_INCLUDE_DIRS})
target_compile_definitions(popsift-demo PRIVATE ${Boost_DEFINITIONS})
if(TARGET popsift)
target_link_libraries(popsift-demo PUBLIC popsift ${PD_LINK_LIBS})
else()
target_link_libraries(popsift-demo PUBLIC PopSift::popsift ${PD_LINK_LIBS})
endif()


#############################################################
Expand All @@ -85,7 +89,11 @@ set_property(TARGET popsift-match PROPERTY CXX_STANDARD 11)
target_compile_options(popsift-match PRIVATE ${PD_COMPILE_OPTIONS} )
target_include_directories(popsift-match PUBLIC PopSift::popsift ${PD_INCLUDE_DIRS})
target_compile_definitions(popsift-match PRIVATE ${Boost_DEFINITIONS})
if(TARGET popsift)
target_link_libraries(popsift-match PUBLIC popsift ${PD_LINK_LIBS})
else()
target_link_libraries(popsift-match PUBLIC PopSift::popsift ${PD_LINK_LIBS})
endif()

#############################################################
# installation
Expand Down

0 comments on commit e835dd0

Please sign in to comment.