Skip to content

Commit 90dd205

Browse files
committed
Fix includedir
noson-app code uses `<noson/*.h>`, so building that against noson as system library will fail as `<noson/noson/*.h>` does not exist. This is the case on OpenBSD where /usr/local/ is the default prefix. On Linux, the default is /usr/, i.e. the same as the default prefix. My guess it's been working by accident so far.
1 parent 762dcf9 commit 90dd205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

noson/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ if (NOT SKIP_INSTALL_ALL)
398398
endif ()
399399
set (prefix "${CMAKE_INSTALL_PREFIX}")
400400
set (exec_prefix "${CMAKE_INSTALL_PREFIX}")
401-
set (includedir "${CMAKE_INSTALL_INCLUDEDIR}/noson")
401+
set (includedir "${CMAKE_INSTALL_INCLUDEDIR}")
402402
set (libdir "${CMAKE_INSTALL_FULL_LIBDIR}")
403403
configure_file (noson.pc.in noson.pc @ONLY)
404404
configure_file (nosonConfig.cmake.in nosonConfig.cmake @ONLY)

0 commit comments

Comments
 (0)