forked from coin-or/ADOL-C
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add rpath, fix typo, add option, clean cmake file
- Loading branch information
1 parent
6bf3e89
commit f8a5ebb
Showing
3 changed files
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,3 @@ | ||
cmake_minimum_required(VERSION 3.27) | ||
|
||
set(CMAKE_CXX_STANDARD 11) | ||
set(CMAKE_CXX_STANDARD_REQUIRED True) | ||
|
||
add_library(ExternalADOLC SHARED IMPORTED) | ||
set_target_properties(ExternalADOLC PROPERTIES | ||
IMPORTED_LOCATION ${ADOLC_INSTALL_DIR}/lib/libadolc.dylib | ||
INTERFACE_INCLUDE_DIRECTORIES ${ADOLC_INSTALL_DIR}/include | ||
) | ||
add_library(ADOLCInterface SHARED ADOLC_TB_interface.cpp ADOLC_TL_interface.cpp array_handler.cpp driver_interface.cpp) | ||
target_link_libraries(ADOLCInterface ExternalADOLC) | ||
|
||
target_link_libraries(ADOLCInterface adolc) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters