Skip to content

Commit

Permalink
Updating for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
msoos committed Jan 28, 2024
1 parent 2c4de3b commit 7a9536b
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,21 @@ set(breakid_lib_files
)
add_library(breakid ${breakid_lib_files})

set_target_properties(breakid PROPERTIES
PUBLIC_HEADER "${breakid_public_headers}"
VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
SOVERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
)
if (NOT WIN32)
set_target_properties(breakid PROPERTIES
PUBLIC_HEADER "${breakid_public_headers}"
VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
SOVERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
)
else()
set_target_properties(breakid PROPERTIES
OUTPUT_NAME breakidwin
PUBLIC_HEADER "${breakid_public_headers}"
VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
SOVERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
)
endif()


add_executable(breakid-bin breakid-main.cpp)
set_target_properties(breakid-bin PROPERTIES
Expand Down

0 comments on commit 7a9536b

Please sign in to comment.