4aa10cd6d6
With a similar commit in Qt 5, this will error at CMake time if an attempt is made to use target_link_libraries(foo Qt4::QtCore Qt5::Core)
7 lines
146 B
CMake
7 lines
146 B
CMake
|
|
find_package(Qt4 REQUIRED)
|
|
find_package(Qt5Core REQUIRED)
|
|
|
|
add_executable(mainexe main.cpp)
|
|
target_link_libraries(mainexe Qt4::QtCore Qt5::Core)
|