mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-14 07:23:26 +00:00
fixed wrong definitions
This commit is contained in:
@@ -17,9 +17,9 @@ if(BUILD_TESTS)
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (WIN32 AND THREAT_WARNING_AS_ERROR)
|
if (WIN32 AND THREAT_WARNING_AS_ERROR)
|
||||||
target_compile_definitions(omath PRIVATE /W4 /WX)
|
target_compile_options(omath PRIVATE /W4 /WX)
|
||||||
elseif(UNIX AND THREAT_WARNING_AS_ERROR)
|
elseif(UNIX AND THREAT_WARNING_AS_ERROR)
|
||||||
target_compile_definitions(omath PRIVATE -Wall -Wextra -Wpedantic)
|
target_compile_options(omath PRIVATE -Wall -Wextra -Wpedantic)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(omath PUBLIC include)
|
target_include_directories(omath PUBLIC include)
|
||||||
Reference in New Issue
Block a user