aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeo Sanghyeon <sanxiyn@gmail.com>2018-05-07 15:23:11 +0900
committerSeo Sanghyeon <sanxiyn@gmail.com>2018-05-07 15:23:11 +0900
commitee469d525d835d56c97509d17e237d741d34b60c (patch)
treec09350c28f8309c7ceebbd59ae8c7d95899ef4ea
parent1c49195f789b7b8d7eaeb2542730a1f72cfbefcf (diff)
downloadvcpkg-ee469d525d835d56c97509d17e237d741d34b60c.tar.gz
vcpkg-ee469d525d835d56c97509d17e237d741d34b60c.zip
[vlpp] Fix Linux build
-rw-r--r--ports/vlpp/CMakeLists.txt5
-rw-r--r--ports/vlpp/CONTROL2
2 files changed, 5 insertions, 2 deletions
diff --git a/ports/vlpp/CMakeLists.txt b/ports/vlpp/CMakeLists.txt
index 238600f6e..d5fec60c4 100644
--- a/ports/vlpp/CMakeLists.txt
+++ b/ports/vlpp/CMakeLists.txt
@@ -7,7 +7,10 @@ set(SRCS
Import/Vlpp.cpp
Import/VlppWorkflow.cpp
Import/VlppWorkflowCompiler.cpp)
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
+
+if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
+endif()
# Create and configure the target
add_library(Vlpp ${SRCS})
diff --git a/ports/vlpp/CONTROL b/ports/vlpp/CONTROL
index aa8381cae..392beec5e 100644
--- a/ports/vlpp/CONTROL
+++ b/ports/vlpp/CONTROL
@@ -1,3 +1,3 @@
Source: vlpp
-Version: 0.9.3.1
+Version: 0.9.3.1-1
Description: Common C++ construction, including string operation / generic container / linq / General-LR parser generator / multithreading / reflection for C++ / etc