Skip to content

Commit

Permalink
compiling qrepack statically
Browse files Browse the repository at this point in the history
  • Loading branch information
sylefeb committed Dec 10, 2023
1 parent 93c2792 commit b328f9f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions demos/q5k/qrepack/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ include_directories(
link_directories(
)

if (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")

else()
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --static")
endif()

add_definitions(-DSRC_PATH=\"${CMAKE_CURRENT_SOURCE_DIR}/\")

SET(SOURCES
Expand Down

0 comments on commit b328f9f

Please sign in to comment.