Fixed naming typo
This commit is contained in:
@@ -16,9 +16,6 @@ macro (acg_qt5)
|
|||||||
# Automatically link Qt executables to qtmain target on Windows
|
# Automatically link Qt executables to qtmain target on Windows
|
||||||
cmake_policy(SET CMP0020 NEW)
|
cmake_policy(SET CMP0020 NEW)
|
||||||
endif(POLICY CMP0020)
|
endif(POLICY CMP0020)
|
||||||
#if (NOT QT5_FOUND)
|
|
||||||
|
|
||||||
#set (QT_MIN_VERSION ${ARGN})
|
|
||||||
|
|
||||||
#try to find qt5 automatically
|
#try to find qt5 automatically
|
||||||
#for custom installation of qt5, dont use any of these variables
|
#for custom installation of qt5, dont use any of these variables
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ acg_drop_templates (sources)
|
|||||||
if (WIN32)
|
if (WIN32)
|
||||||
acg_add_executable (QtViewer WIN32 ${sources} ${headers})
|
acg_add_executable (QtViewer WIN32 ${sources} ${headers})
|
||||||
# link to qtmain library to get WinMain function for a non terminal app
|
# link to qtmain library to get WinMain function for a non terminal app
|
||||||
target_link_libraries (${targetName} ${QT_QTMAIN_LIBRARY})
|
target_link_libraries (QtViewer ${QT_QTMAIN_LIBRARY})
|
||||||
else ()
|
else ()
|
||||||
acg_add_executable (QtViewer ${sources} ${headers})
|
acg_add_executable (QtViewer ${sources} ${headers})
|
||||||
endif ()
|
endif ()
|
||||||
|
|||||||
Reference in New Issue
Block a user