[ox/std] Add gcc library as dependency when building with GCC

This commit is contained in:
2019-06-14 18:18:33 -05:00
parent 1bf3809b47
commit 2b60c04f1a
2 changed files with 5 additions and 45 deletions

View File

@@ -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