tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cmake try_compile error



Hi!

I've tried packaging innoextract. It builds fine (on
NetBSD-7.99.5/amd64/gcc 4.8.4) when I extract it and run 'cmake'
manually, but inside pkgsrc it fails with (see wip/innoextract):

-- Checking compiler flag: -std=c++11
CMake Error at cmake/CompileCheck.cmake:72 (try_compile):
  Attempt at a recursive or nested TRY_COMPILE in directory

    /scratch/nih/innoextract/work/innoextract-1.4

Call Stack (most recent call first):
  cmake/CXX11Check.cmake:41 (check_compile)
  CMakeLists.txt:150 (check_cxx11)


CMake Error at cmake/CompileCheck.cmake:72 (try_compile):
  Attempt at a recursive or nested TRY_COMPILE in directory

    /scratch/nih/innoextract/work/innoextract-1.4

Call Stack (most recent call first):
  cmake/CXX11Check.cmake:41 (check_compile)
  CMakeLists.txt:154 (check_cxx11)
  
Does anyone have an idea what the problem is and how to fix it?

Thanks,
 Thomas


Home | Main Index | Thread Index | Old Index