Skip to content

Commit

Permalink
Worhp no lib prefix on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jgillis committed Mar 17, 2023
1 parent 8e9237c commit 8c4c06a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions worhp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)

add_library(worhp SHARED src/worhp.cpp include/worhp.h)

if(WIN32)
set_target_properties(${LIBRARY_NAME} PROPERTIES PREFIX "" IMPORT_PREFIX "")
endif()

if(CMAKE_SIZEOF_VOID_P EQUAL 4)
set(NBITS_TWO "32")
elseif(CMAKE_SIZEOF_VOID_P EQUAL 8)
Expand Down

0 comments on commit 8c4c06a

Please sign in to comment.