Skip to content

Commit 05eed0f

Browse files
committed
Fix CMake example in README.md
- When using the more traditional GNU install structure Fortran compilers won't be able to find the module unless they are told about it's location
1 parent e05439f commit 05eed0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ enable_language ( Fortran )
8585
project ( jf_test NONE )
8686
8787
find_package ( jsonfortran-${CMAKE_Fortran_COMPILER_ID} 4.1.0 REQUIRED )
88+
include_directories ( "${jsonfortran_INCLUDE_DIRS}" )
8889
8990
file ( GLOB JF_TEST_SRCS "src/tests/jf_test_*.f90" )
9091
foreach ( UNIT_TEST ${JF_TEST_SRCS} )

0 commit comments

Comments
 (0)