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