-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The OpenSSL installation on windows is not quite right with respect to cmake.
In order to investigate performance degradation on windows I had to build perftools using cmake.
There is no joy when one is trying cmake 4.2. My typical unix workflow is as follows:
# ./Configure --prefix=~/work.openssl/openssl.binaries/openssl-master
# make && make install
# cd ../perftools/source
# cmake -B build.master -S . -DCMAKE_PREFIX_PATH=~/work.openssl/openssl.binaries/openssl-master -DOPENSSL_CONFIG_MODE=1
# cmake --build build
Adjusting steps above for windows gives me no joy
# perl ./Configure --prefix=C:\Users\OpenSSL\work.openssl\openssl.binaries\openssl-master --openssldir=C:\Users\OpenSSL\work.openssl\openssl.binaries\openssl-master
# nmake
# nmake install
# cd ..
# cd perftools\source
# cmake -B build.master -S . -DCMAKE_PREFIX_PATH=~/work.openssl/openssl.binaries/openssl-master -DOPENSSL_CONFIG_MODE=1
The --openssldir option is needed so configuration files are not installed to its default under c:\Program Files...
For cmake 3.x one can adjust to configure step to point cmake to OpenSSL sources with fresh build. This is the desired command line:
cmake -B build.master -S . -DOPENSSL_ROOT_DIR=~/work.openssl/openssl.binaries/openssl-master
However the step above is completely futile with cmake 4.x No matter what I do cmake always complains for missing OpenSSLConfig.cmake or openssl-config.cmake
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Blocked