aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-03-06 12:29:06 -0800
committerRobert Schumacher <roschuma@microsoft.com>2017-03-06 12:29:06 -0800
commitc1d6454952b24f8bec815c35f599e7509f6812b6 (patch)
tree81dfdabd604c1d764196bc136f01963f071098e0
parent09794f2b24c6e3cc79f47b91cbb4ecb55fcbae93 (diff)
downloadvcpkg-c1d6454952b24f8bec815c35f599e7509f6812b6.tar.gz
vcpkg-c1d6454952b24f8bec815c35f599e7509f6812b6.zip
[fftw3] Avoid replacing CMAKE_CXX_FLAGS -- just add the definitions needed.
-rw-r--r--ports/fftw3/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/ports/fftw3/CMakeLists.txt b/ports/fftw3/CMakeLists.txt
index 88f7a2517..6e0626f4b 100644
--- a/ports/fftw3/CMakeLists.txt
+++ b/ports/fftw3/CMakeLists.txt
@@ -5,8 +5,7 @@ project (fftw3)
# Standard: /DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc /GR
if (WIN32)
- set(CMAKE_CXX_FLAGS "/DWIN32 /D_WINDOWS /W4 /Zi /EHsc /GR- /MP /openmp /bigobj")
- add_definitions(-D_OPENMP -DLIBFFTWF33_EXPORTS) # Visual Studio 2005 and up supports OpenMP
+ add_definitions(-D_OPENMP -DLIBFFTWF33_EXPORTS /openmp /bigobj) # Visual Studio 2005 and up supports OpenMP
endif (WIN32)
if (BUILD_SHARED_LIBS)
@@ -57,7 +56,7 @@ include_directories(
api
dft
dft/scalar
- dft/scalar/codelets # rellay needed?
+ dft/scalar/codelets # really needed?
dft/simd
dft/simd/sse2
rdft