Closed stal12 closed 1 year ago
Works as expected when -DBUILD_PACKAGE:BOOL=ON is passed to cmake.cf https://github.com/NREL/EnergyPlus/pull/10073#issuecomment-1595749268
Closing. The clear issue report and following PR is much appreciated though @stal12, thanks!
Issue overview
When the C library is installed, the API header files are not copied in the installation directory. Therefore clients linking against energyplus miss fundamental include files to use the library.
The relevant code is in
src/EnergyPlus/CMakeLists.txt
:This installs the library and the cmake configuration file used to import it from other projects, but it doesn't copy the API header files.
Details
Some additional details for this issue (if relevant):
Checklist
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.