Skip to content

Commit

Permalink
add forgotten linkage type for Windows workaround, re #49
Browse files Browse the repository at this point in the history
  • Loading branch information
gentryx committed Mar 5, 2017
1 parent 625d405 commit 4b6330d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ endif()

if(WIN32)
set(LOCAL_LIBGEODECOMP_LINK_LIB local_libgeodecomp_link_lib)
add_library(local_libgeodecomp_lib IMPORTED)
add_library(local_libgeodecomp_lib ${LIB_LINKAGE_TYPE} IMPORTED)
set_property(TARGET local_libgeodecomp_lib PROPERTY IMPORTED_LOCATION ${LIBGEODECOMP_BINARY_DIR}/src/${CMAKE_BUILD_TYPE}/geodecomp.dll)
else()
set(LOCAL_LIBGEODECOMP_LINK_LIB geodecomp)
Expand Down

0 comments on commit 4b6330d

Please sign in to comment.