|
@@ -125,8 +125,9 @@ if(UNIX)
|
|
message("-- Using system's cpu_features")
|
|
message("-- Using system's cpu_features")
|
|
target_link_libraries(mayaqua PRIVATE cpu_features)
|
|
target_link_libraries(mayaqua PRIVATE cpu_features)
|
|
else()
|
|
else()
|
|
|
|
+ message("-- Using bundled cpu_features")
|
|
|
|
+ set(BUILD_SHARED_LIBS ON)
|
|
add_subdirectory(3rdparty/cpu_features)
|
|
add_subdirectory(3rdparty/cpu_features)
|
|
- set_property(TARGET cpu_features PROPERTY POSITION_INDEPENDENT_CODE ON)
|
|
|
|
target_link_libraries(mayaqua PRIVATE cpu_features)
|
|
target_link_libraries(mayaqua PRIVATE cpu_features)
|
|
endif()
|
|
endif()
|
|
|
|
|