dev-cafe / autocmake

CMake plugin composer.
http://autocmake.org
BSD 3-Clause "New" or "Revised" License
41 stars 18 forks source link

FindOpenMP requires C or CXX language to be enabled #200

Closed miroi closed 7 years ago

miroi commented 7 years ago

I think this could related to cmake setting:

CMake Error at /usr/share/cmake/Modules/FindOpenMP.cmake:169 (message):
  FindOpenMP requires C or CXX language to be enabled
Call Stack (most recent call first):
  /home/milias/Work/programming/autocmake/modules/omp.cmake:26 (find_package)
  CMakeLists.txt:24 (include)

-- Configuring incomplete, errors occurred!
See also "/home/milias/Work/programming/autocmake/test/fc_omp/build-2017-05-23-09-46-48/CMakeFiles/CMakeOutput.log".
milias@adf1:~/Work/programming/autocmake/test/fc_omp/build-2017-05-23-09-46-48/.cmake --version
cmake version 2.8.12.2
milias@adf1:~/Work/programming/autocmake/test/fc_omp/build-2017-05-23-09-46-48/.
miroi commented 7 years ago

duplicate, closing