Skip to content

Commit

Permalink
Fixing up build
Browse files Browse the repository at this point in the history
  • Loading branch information
msoos committed Jan 30, 2024
1 parent 74a46e2 commit 29f0955
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,17 @@ set_target_properties(ganak PROPERTIES
SOVERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
INSTALL_RPATH_USE_LINK_PATH TRUE)

add_executable (ganak-bin
main.cpp
)

add_executable (ganak-bin main.cpp)
target_link_libraries (ganak-bin ganak ${GMP_LIBRARIES})


if (NOT WIN32)
set_target_properties(ganak PROPERTIES
OUTPUT_NAME ganak
OUTPUT_NAME ganak
RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}
)
else()
set_target_properties(ganak PROPERTIES
OUTPUT_NAME ganak-win
OUTPUT_NAME ganak-win
RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}
)
endif()

0 comments on commit 29f0955

Please sign in to comment.