aboutsummaryrefslogtreecommitdiff
path: root/pm.pro
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-02-08 12:12:23 -0200
committerSamuel Fadel <samuelfadel@gmail.com>2016-02-08 12:12:23 -0200
commit2a444625deb6e6782513a823d4e00c6f8c2f81a4 (patch)
treee272e05585ab0f229f164a10bceaea88bb4e1a5f /pm.pro
parent3188de2559413c1c92e4a65c9932b37ddafef9b9 (diff)
Fixed build issues in pm.pro for *nix systems.
Diffstat (limited to 'pm.pro')
-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 {