diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2016-02-08 12:12:23 -0200 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2016-02-08 12:12:23 -0200 |
commit | 2a444625deb6e6782513a823d4e00c6f8c2f81a4 (patch) | |
tree | e272e05585ab0f229f164a10bceaea88bb4e1a5f | |
parent | 3188de2559413c1c92e4a65c9932b37ddafef9b9 (diff) |
Fixed build issues in pm.pro for *nix systems.
-rw-r--r-- | pm.pro | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 { |