Commit 2eb4b7b3 by Maarten L. Hekkelman

Fix building in Windows

parent c241e49b
...@@ -311,7 +311,7 @@ install(TARGETS cifpp ...@@ -311,7 +311,7 @@ install(TARGETS cifpp
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
if(MSVC) if(MSVC AND BUILD_SHARED_LIBS)
install( install(
FILES $<TARGET_PDB_FILE:${PROJECT_NAME}> FILES $<TARGET_PDB_FILE:${PROJECT_NAME}>
DESTINATION ${CMAKE_INSTALL_LIBDIR} DESTINATION ${CMAKE_INSTALL_LIBDIR}
......
...@@ -28,8 +28,10 @@ ...@@ -28,8 +28,10 @@
#include <cmath> #include <cmath>
#include <fstream> #include <fstream>
#include <iostream> #include <iostream>
#include <map>
#include <mutex> #include <mutex>
#include <regex> #include <regex>
#include <sstream>
#include <thread> #include <thread>
#if defined(_MSC_VER) #if defined(_MSC_VER)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment