mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 04:27:55 +08:00
26 lines
579 B
Diff
26 lines
579 B
Diff
|
From a8ab743870873066a66b30d68907ccc4ade250a5 Mon Sep 17 00:00:00 2001
|
||
|
From: Mikhail Paulyshka <me@mixaill.tk>
|
||
|
Date: Mon, 4 Sep 2017 01:25:38 +0300
|
||
|
Subject: [PATCH] export symbols
|
||
|
|
||
|
---
|
||
|
CMakeLists.txt | 2 ++
|
||
|
1 file changed, 2 insertions(+)
|
||
|
|
||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index f630c18..c266b39 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -20,6 +20,8 @@ endif ()
|
||
|
|
||
|
project (nlopt)
|
||
|
|
||
|
+set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||
|
+
|
||
|
list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
|
||
|
|
||
|
option (WITH_CXX "enable cxx routines" OFF)
|
||
|
--
|
||
|
2.12.2.windows.2
|
||
|
|