tCMakeLists.txt: fix architecture conditional - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 401f418676345ca4b80e2725106c40fc37f28e31
(DIR) parent cbd26b61b8bf79effaf89f17f71f883888e675d8
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 9 Feb 2023 12:30:13 +0100
CMakeLists.txt: fix architecture conditional
Diffstat:
M src/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
t@@ -29,7 +29,7 @@ ELSE() # Fermi
#"--use_fast_math;-O3;-gencode=arch=compute_20,code=\"sm_20,compute_20\";--fmad=false -ccbin gcc-8.3")
#"--use_fast_math;-O3;-gencode=arch=compute_20,code=\"sm_20,compute_20\";--fmad=false -ccbin gcc;-Xcompiler -fPIC")
#"--use_fast_math;-O3;-gencode=arch=compute_20,code=\"sm_20,compute_20\";--fmad=false;-ccbin clang-3.8")
-ENDIF (GPU_GENERATION EQUAL 1)
+ENDIF ()
SET(CMAKE_CXX_FLAGS "-fPIC ${CMAKE_CXX_FLAGS}")