Add install setup
parent
e3c30e1986
commit
6ef178f508
|
@ -62,9 +62,12 @@ ENDIF(BUILD_STATIC_LIB)
|
||||||
|
|
||||||
set_target_properties(${PROJECT_NAME} PROPERTIES PUBLIC_HEADER ${SOURCE_HEADS})
|
set_target_properties(${PROJECT_NAME} PROPERTIES PUBLIC_HEADER ${SOURCE_HEADS})
|
||||||
|
|
||||||
# ADD DEFAULT COMPILER FLAGS
|
# Add compiler flags
|
||||||
include(CompilerFlags)
|
include(CompilerFlags)
|
||||||
|
|
||||||
|
# Install setup
|
||||||
|
install(TARGETS ${PROJECT_NAME} PERMISSIONS WORLD_WRITE )
|
||||||
|
|
||||||
find_package(OpenMP REQUIRED)
|
find_package(OpenMP REQUIRED)
|
||||||
if (OPENMP_FOUND)
|
if (OPENMP_FOUND)
|
||||||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
|
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
|
||||||
|
|
Loading…
Reference in New Issue