gcc compiler flags fixed
This commit is contained in:
1 parent
de15e21ee5
commit
f5cc0a2f57
2 files changed
+9
-5
No files matched your search
+7
-5
@@ -60,11 +60,13 @@ target_include_directories(units
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
$<INSTALL_INTERFACE:include>
|
||||
)
|
||||
target_compile_options(units
|
||||
INTERFACE
|
||||
-Wno-literal-suffix
|
||||
-fconcepts
|
||||
)
|
||||
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
|
||||
target_compile_options(units
|
||||
INTERFACE
|
||||
-Wno-literal-suffix
|
||||
-fconcepts
|
||||
)
|
||||
endif()
|
||||
add_library(mp::units ALIAS units)
|
||||
|
||||
# installation info
|
||||
|
||||
Reference in new issue
Block a user