aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pm.pro5
1 files changed, 2 insertions, 3 deletions
diff --git a/pm.pro b/pm.pro
index 3f5e61e..e38d3a9 100644
--- a/pm.pro
+++ b/pm.pro
@@ -13,7 +13,7 @@ win32 {
msvc:QMAKE_CXXFLAGS += /openmp
-g++ {
+unix {
QMAKE_CXXFLAGS += -std=c++11 -fopenmp
LIBS += -larmadillo -fopenmp
}
@@ -63,9 +63,8 @@ OTHER_FILES += skelft.cu
# CUDA settings
CUDA_SOURCES += skelft.cu
-CUDA_LIBS = cuda cudart
CUDA_ARCH = sm_30
-NVCC_LIBS = $$join(CUDA_LIBS, " -l", "-l", "")
+NVCC_LIBS = -lcuda -lcudart
NVCC_OPTIONS += --use_fast_math
win32 {