cmake fix to include math lib
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
This commit is contained in:
parent
150f89497f
commit
a05804da33
@ -21,7 +21,7 @@ target_include_directories(StormEngine PUBLIC ${PROJECT_SOURCE_DIR}/src/main/c/i
|
|||||||
target_include_directories(StormEngine PUBLIC ${PROJECT_SOURCE_DIR}/src/main/c/lib)
|
target_include_directories(StormEngine PUBLIC ${PROJECT_SOURCE_DIR}/src/main/c/lib)
|
||||||
|
|
||||||
# set props for the lib
|
# set props for the lib
|
||||||
target_compile_options(StormEngine PRIVATE -m64 -mavx -mavx2)
|
target_compile_options(StormEngine PRIVATE -m64 -mavx -mavx2 -lm)
|
||||||
|
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
|
|||||||
@ -58,7 +58,7 @@ foreach (TEST_FILE ${TEST_SOURCES})
|
|||||||
endif()
|
endif()
|
||||||
endforeach ()
|
endforeach ()
|
||||||
|
|
||||||
target_compile_options(test_runner PRIVATE -m64 -mavx -mavx2)
|
target_compile_options(test_runner PRIVATE -m64 -mavx -mavx2 -lm)
|
||||||
|
|
||||||
# make test runner depend on library
|
# make test runner depend on library
|
||||||
add_dependencies(test_runner StormEngine)
|
add_dependencies(test_runner StormEngine)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user