We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b071d9c + 85619dc commit 8f10fb6Copy full SHA for 8f10fb6
cmake/pcl_find_qt5.cmake
@@ -41,7 +41,7 @@ foreach(qt5_module ${qt5_modules})
41
if(${qt5_module}_FOUND)
42
include_directories(${${qt5_module}_INCLUDE_DIRS})
43
add_definitions(${${qt5_module}_DEFINITIONS})
44
- list(APPEND CMAKE_CXX_FLAGS ${${qt5_module}_EXECUTABLE_COMPILE_FLAGS})
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${${qt5_module}_EXECUTABLE_COMPILE_FLAGS}")
45
list(APPEND QT_LIBRARIES ${${qt5_module}_LIBRARIES})
46
endif()
47
endforeach()
0 commit comments