Fixed version of CMakeLists.txt when you check BUILD_OPENTHREAD_WITH_QT and compile with Visual Studio 2015

This commit is contained in:
Davide Raccagni
2016-06-02 10:06:58 +01:00
committed by Robert Osfield
parent a58f50e6fd
commit 6428c33d30

View File

@@ -71,11 +71,11 @@ INSTALL(
DESTINATION include/OpenThreads
COMPONENT libopenthreads-dev
)
if(MSVC)
IF(MSVC)
INSTALL(
FILES ${CMAKE_CURRENT_BINARY_DIR}/OpenThreads${CMAKE_BUILD_POSTFIX}.pdb
DESTINATION bin
COMPONENT libopenthreads
)
)
ENDIF()
#commented out# INCLUDE(ModuleInstall OPTIONAL)