mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
science/gdma: fix build without libomp
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CMake Error at /usr/local/share/cmake/Modules/FindOpenMP.cmake:261 (try_compile): Failed to configure test project build system. Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindOpenMP.cmake:537 (_OPENMP_GET_FLAGS) cmake/autocmake_omp.cmake:30 (find_package) CMakeLists.txt:28 (include)
This commit is contained in:
parent
76e87c3349
commit
46742e35f1
@ -17,7 +17,11 @@ GH_ACCOUNT= psi4
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON \
|
||||
-DENABLE_XHOST:BOOL=OFF \
|
||||
-DENABLE_OPENMP:BOOL=ON
|
||||
-DENABLE_XHOST:BOOL=OFF
|
||||
.if !exists(/usr/include/omp.h)
|
||||
CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=OFF
|
||||
.else
|
||||
CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=ON
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user