You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# EXPORT "${pnv}-targets-shared" # LAB must toggle with BUILD_SHARED_LIBS at present
147
+
EXPORT "${pnv}-targets-static"
148
+
COMPONENT Eigen3
149
+
)
150
+
endif()
146
151
147
152
if (TARGET libint-Eigen3)
148
153
set(LIBINT_HAS_EIGEN 1)
149
154
set(LIBINT_HAS_CXX_API 1)
150
-
else(TARGET libint-Eigen3)
155
+
else()
151
156
set(LIBINT_HAS_CXX_API 0)
152
-
endif(TARGET libint-Eigen3)
157
+
endif()
153
158
if (REQUIRE_CXX_API AND NOT ${LIBINT_HAS_CXX_API})
154
159
message(FATAL_ERROR "C++ API cannot be built without Eigen3; configure (via CMake) and install Eigen3 and add the install prefix to CMAKE_PREFIX_PATH, or add -DREQUIRE_CXX_API=OFF to the CMake command line if the C++ API is not required")
155
160
endif()
156
161
157
162
# Python is optional, unless ...
158
163
if (ENABLE_FORTRAN) # ... need fortran
159
164
find_package(PythonInterp REQUIRED)
160
-
else(ENABLE_FORTRAN)
165
+
else()
161
166
find_package(PythonInterp)
162
-
endif(ENABLE_FORTRAN)
167
+
endif()
163
168
164
169
################################# Main Project #################################
165
170
include(GNUInstallDirs)
@@ -271,12 +276,12 @@ if (BUILD_SHARED_LIBS)
271
276
add_library (int-library ALIAS int-shared)
272
277
if (TARGET int-cxx-shared)
273
278
add_library (int-cxx-library ALIAS int-cxx-shared)
274
-
endif(TARGET int-cxx-shared)
279
+
endif()
275
280
elseif (BUILD_STATIC_LIBS)
276
281
add_library (int-library ALIAS int-static)
277
282
if (TARGET int-cxx-static)
278
283
add_library (int-cxx-library ALIAS int-cxx-static)
0 commit comments