diff --git a/qad/CMakeLists.txt b/qad/CMakeLists.txt index 25468fa..181f94b 100644 --- a/qad/CMakeLists.txt +++ b/qad/CMakeLists.txt @@ -52,9 +52,9 @@ if (NOT LIBPROJECT) endif() set(CMAKES "FindQAD.cmake" "QtWraps.cmake") -install(FILES ${CMAKES} DESTINATION ${CMAKE_ROOT}/Modules) if (LIB) + install(FILES ${CMAKES} DESTINATION ${CMAKE_ROOT}/Modules) if (WIN32) install(FILES ${EXPORT_HEADER} DESTINATION ${MINGW_INCLUDE}/qad) else()