Fixed issue where compile options were added too late.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
34ba9331ed
commit
5c0c0878a6
|
@ -17,6 +17,11 @@ if (SHARED)
|
|||
set(LIBTYPE SHARED)
|
||||
endif (SHARED)
|
||||
|
||||
if (NOT WINDOWS)
|
||||
# Include debug symbols in all linux builds
|
||||
add_compile_options(-g -gfull -g3)
|
||||
endif()
|
||||
|
||||
# Grab all cpp and hpp files in our source directories.
|
||||
file(GLOB_RECURSE SRC_FILES "src/*.cpp" "src/*.hpp" "CInterface/*.cpp" "CInterface/*.hpp")
|
||||
add_library(Arbutils ${LIBTYPE} ${SRC_FILES})
|
||||
|
@ -43,8 +48,6 @@ endif (WINDOWS)
|
|||
|
||||
set(LINKS)
|
||||
if (NOT WINDOWS)
|
||||
# Include debug symbols in all linux builds
|
||||
add_compile_options(-g -gfull -g3)
|
||||
set(LINKS ${LINKS} -ldw)
|
||||
endif()
|
||||
# If we want to link the C and C++ library statically, link those as well.
|
||||
|
|
Loading…
Reference in New Issue