mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
fixed wrong definitions
This commit is contained in:
@@ -17,9 +17,9 @@ if(BUILD_TESTS)
|
||||
endif ()
|
||||
|
||||
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)
|
||||
target_compile_definitions(omath PRIVATE -Wall -Wextra -Wpedantic)
|
||||
target_compile_options(omath PRIVATE -Wall -Wextra -Wpedantic)
|
||||
endif()
|
||||
|
||||
target_include_directories(omath PUBLIC include)
|
||||
Reference in New Issue
Block a user