Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
LAMBERT Jean-charles
unsio
Commits
f1b7f86d
Commit
f1b7f86d
authored
Mar 11, 2020
by
LAMBERT Jean-charles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adapt for mknemo unsio from NEMO project
parent
f727de65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
11 deletions
+15
-11
CMakeLists.txt
CMakeLists.txt
+15
-11
No files found.
CMakeLists.txt
View file @
f1b7f86d
...
...
@@ -53,6 +53,9 @@ MESSAGE( STATUS "core OPT =" ${OPT} )
MESSAGE
(
STATUS
"OSX detected ="
${
OSX
}
)
MESSAGE
(
STATUS
"BUILD_TYPE ="
${
RELEASE
}
)
# Detect NEMO
FIND_PACKAGE
(
NEMO
)
FIND_PACKAGE
(
SQLITE3
)
if
(
APPLE
)
#set (HDF5_USE_STATIC_LIBRARIES TRUE)
...
...
@@ -255,17 +258,18 @@ INSTALL(FILES ${UNSIO2_SOURCE_DIR}/man/man3/unsiof.3 DESTINATION ${PREFIX_MAN}/
#INSTALL(FILES ${NEMOLIB}/libnemo.a DESTINATION ${PREFIX_LIB})
INSTALL
(
FILES
${
NEMOLIB
}
/libnemomaing77.a DESTINATION
${
PREFIX_LIB
}
)
# Find all NEMOLIGHT header files
FILE
(
GLOB nlight_files
${
NEMOLIGHT
}
/src/*.h
${
NEMOLIGHT
}
/src/inc/*.h
)
FOREACH
(
source_header
${
nlight_files
}
)
INSTALL
(
FILES
${
source_header
}
DESTINATION
${
PREFIX_INC
}
/nemo
)
ENDFOREACH
()
FILE
(
GLOB nlight_files
${
NEMOLIGHT
}
/src/inc/snapshot/*.c
${
NEMOLIGHT
}
/src/inc/snapshot/*.h
)
FOREACH
(
source_header
${
nlight_files
}
)
INSTALL
(
FILES
${
source_header
}
DESTINATION
${
PREFIX_INC
}
/nemo/snapshot
)
ENDFOREACH
()
IF
(
NOT NEMO_INSTALLED
)
# Find all NEMOLIGHT header files
FILE
(
GLOB nlight_files
${
NEMOLIGHT
}
/src/*.h
${
NEMOLIGHT
}
/src/inc/*.h
)
FOREACH
(
source_header
${
nlight_files
}
)
INSTALL
(
FILES
${
source_header
}
DESTINATION
${
PREFIX_INC
}
/nemo
)
ENDFOREACH
()
FILE
(
GLOB nlight_files
${
NEMOLIGHT
}
/src/inc/snapshot/*.c
${
NEMOLIGHT
}
/src/inc/snapshot/*.h
)
FOREACH
(
source_header
${
nlight_files
}
)
INSTALL
(
FILES
${
source_header
}
DESTINATION
${
PREFIX_INC
}
/nemo/snapshot
)
ENDFOREACH
()
ENDIF
(
NOT NEMO_INSTALLED
)
if
(
NOT CMAKE_INSTALL_PREFIX STREQUAL
"/usr"
)
...
...
Write
Preview
Markdown
is supported
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