Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Roel Aaij
k40gen
Commits
69a28310
Commit
69a28310
authored
Mar 31, 2019
by
Roel Aaij
Browse files
Fix build when Vc is disabled.
parent
714c67a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
69a28310
...
...
@@ -105,8 +105,10 @@ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lpthread")
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
${
INCLUDES
}
-W -O3 -DNDEBUG"
)
SET
(
CMAKE_EXE_LINKER_FLAGS
"
${
CMAKE_EXE_LINKER_FLAGS
}
"
)
include
(
VcMacros
)
vc_set_preferred_compiler_flags
()
if
(
ENABLE_VC
)
include
(
VcMacros
)
vc_set_preferred_compiler_flags
()
endif
()
if
(
USE_AVX2
)
include_directories
(
${
Vc_INCLUDE_DIR
}
)
...
...
lib/generate/config.h.in
View file @
69a28310
#pragma once
#cmakedefine
01
USE_AVX2 @USE_AVX2@
#cmakedefine USE_AVX2 @USE_AVX2@
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment