From 2a444625deb6e6782513a823d4e00c6f8c2f81a4 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Mon, 8 Feb 2016 12:12:23 -0200 Subject: Fixed build issues in pm.pro for *nix systems. --- pm.pro | 5 ++--- 1 file 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 { -- cgit v1.2.3