Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions cpp/cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ endif()

# Setup definitions for all targets
add_definitions(${SRW_DEFINITIONS})
add_compile_options(-O3 -mfma) #HG01082025
add_compile_options(-O3)
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86_64|AMD64|i[3-6]86)$")
add_compile_options(-mfma) #HG01082025
endif()

#ext
#auxgpu
Expand Down Expand Up @@ -342,4 +345,4 @@ add_custom_command(TARGET srwlpy POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:srwlpy> ${CMAKE_SOURCE_DIR}/env/python/srwpy/
)

#install(TARGETS srwlpy LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
#install(TARGETS srwlpy LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})