[ox/std] Add gcc library as dependency when building with GCC
This commit is contained in:
6
deps/ox/src/ox/std/CMakeLists.txt
vendored
6
deps/ox/src/ox/std/CMakeLists.txt
vendored
@@ -1,6 +1,5 @@
|
||||
add_library(
|
||||
OxStd
|
||||
arith.cpp
|
||||
assert.cpp
|
||||
buildinfo.cpp
|
||||
byteswap.cpp
|
||||
@@ -19,6 +18,11 @@ set_property(
|
||||
POSITION_INDEPENDENT_CODE ON
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
OxStd PUBLIC
|
||||
$<$<CXX_COMPILER_ID:GNU>:gcc>
|
||||
)
|
||||
|
||||
install(
|
||||
FILES
|
||||
assert.hpp
|
||||
|
Reference in New Issue
Block a user